-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Made the container uploading and language registration two separate actions #153
Conversation
exasol_transformers_extension/deployment/language_container_deployer.py
Outdated
Show resolved
Hide resolved
exasol_transformers_extension/deployment/language_container_deployer.py
Outdated
Show resolved
Hide resolved
""" | ||
Generates an SQL command to register the SLC container at the required level. The command will | ||
preserve existing registrations of other containers identified by different language aliases. | ||
Registration of a container with the same alias, if exists, will be overwritten. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, for this we should have a option. When set to true we overwrite and if not, we raise an exception
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you want to have this option at both API and CLI levels? What should be the default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I think, it makes sense to have it at both. I am inclined to throw an error when it already exists as the default for the standalone project. And, for the sandbox we would overwrite it always overwrite, because there is the situation different.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks fine to me apart from Torstens comments. But we should add documentation for the new functionality.
Fair point about the documentation. Will do. |
closes #151
It also fixes a couple of broken integration tests, with one - test_model_downloader_udf_script - yet to be fixed.